package com.copd.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 备份数据查询请求
 */
@Data
@ApiModel(description = "备份数据查询请求")
public class BackupDataQueryRequest {
    @ApiModelProperty(value = "患者ID")
    private Integer patientId;
    
    @ApiModelProperty(value = "备份表名")
    private String tableName;
    
    @ApiModelProperty(value = "操作类型（新增、修改、删除、查询）")
    private String operationType;
    
    @ApiModelProperty(value = "开始时间（yyyy-MM-dd HH:mm:ss格式）")
    private String startTime;
    
    @ApiModelProperty(value = "结束时间（yyyy-MM-dd HH:mm:ss格式）")
    private String endTime;
    
    @ApiModelProperty(value = "页码", required = true, example = "1")
    private Integer page = 1;
    
    @ApiModelProperty(value = "每页大小", required = true, example = "10")
    private Integer size = 10;
    
    @Override
    public String toString() {
        return "BackupDataQueryRequest{" +
                "patientId=" + patientId +
                ", tableName='" + tableName + '\'' +
                ", operationType='" + operationType + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", page=" + page +
                ", size=" + size +
                '}';
    }
} 